

define(["business/services/constant"], function (constant) {
    var shoppingURL = 'http://192.168.0.31:8080'
    //var a="http://192.168.0.31:8080";
    var shoppingURL = constant.config.BASEURL_USER;
    var shoppingAPI = constant.config.CONSTANT_SHOPPING;
    var orderAPI = constant.config.CONSTANT_ORDER;
    return {
        shoppingHttpService:function(requestion){
            return constant.httpSend(shoppingURL,shoppingAPI,requestion);
        },
        orderHttpService:function(requestion){
            return constant.httpSend(shoppingURL,orderAPI,requestion);
        },
        getOrderInfo:function(requestion){
            return constant.httpSend(shoppingURL,orderAPI,requestion);
        }
    }
});
/**
 * Created by white on 2017/4/7.
 */
